<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver W25QXX: example/driver_w25qxx_advance.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver W25QXX
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">W25QXX full-featured driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__w25qxx__advance_8c_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_w25qxx_advance.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__w25qxx__advance_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__w25qxx__advance_8h.html">driver_w25qxx_advance.h</a>&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">static</span> <a class="code" href="structw25qxx__handle__s.html">w25qxx_handle_t</a> gs_handle;        </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga413b420bc199d09ce5cafee4a4debb28">   51</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga413b420bc199d09ce5cafee4a4debb28">w25qxx_advance_init</a>(<a class="code" href="group__w25qxx__basic__driver.html#ga6cb4e5164464df549201dd96cb7a58b1">w25qxx_type_t</a> type, <a class="code" href="group__w25qxx__basic__driver.html#gacbf327a42336baf10713a1796ff4f2fe">w25qxx_interface_t</a> interface, <a class="code" href="group__w25qxx__basic__driver.html#gafb2690946f5baf4be6f3a63dde5491fb">w25qxx_bool_t</a> dual_quad_spi_enable)</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    uint8_t res;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="comment">/* link interface function */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#ga995378489f95bc6bbddbe710557e3384">DRIVER_W25QXX_LINK_INIT</a>(&amp;gs_handle, <a class="code" href="structw25qxx__handle__s.html">w25qxx_handle_t</a>);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#gab2587de93f1dba5664eede8cd787a88a">DRIVER_W25QXX_LINK_SPI_QSPI_INIT</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga2bdc17a556f1c801a38656331f3bb7b6">w25qxx_interface_spi_qspi_init</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#gaec8b55e83b46907be1dd9e7c50be550d">DRIVER_W25QXX_LINK_SPI_QSPI_DEINIT</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga091f3607fcdd47f9e5f94cf1397bd46a">w25qxx_interface_spi_qspi_deinit</a>);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#gac8f0ca0a725790bace3241d1d616e3d1">DRIVER_W25QXX_LINK_SPI_QSPI_WRITE_READ</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga3d76ea1f431978f6b55edfd0628c94cd">w25qxx_interface_spi_qspi_write_read</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#ga7555618f13d2de0003ae6d9483085180">DRIVER_W25QXX_LINK_DELAY_MS</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga964fa232abf98737cb98458eebfff82c">w25qxx_interface_delay_ms</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#gafc81bf850c80dfa316f0c6ab40be6e67">DRIVER_W25QXX_LINK_DELAY_US</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga38e79039b913154c9dd1036ff52bb420">w25qxx_interface_delay_us</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="group__w25qxx__link__driver.html#gab8d49ef9dca942fe5f37c30dcd7e22a6">DRIVER_W25QXX_LINK_DEBUG_PRINT</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="comment">/* set chip type */</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    res = <a class="code" href="group__w25qxx__basic__driver.html#gaa57189cd4170b73f8b1300ca15e27de6">w25qxx_set_type</a>(&amp;gs_handle, type);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>(<span class="stringliteral">&quot;w25qxx: set type failed.\n&quot;</span>);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;       </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    }</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="comment">/* set chip interface */</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    res = <a class="code" href="group__w25qxx__basic__driver.html#ga50a62003d566402d46ada2f272c41eb5">w25qxx_set_interface</a>(&amp;gs_handle, interface);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>(<span class="stringliteral">&quot;w25qxx: set interface failed.\n&quot;</span>);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;       </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="comment">/* set dual quad spi */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    res = <a class="code" href="group__w25qxx__basic__driver.html#ga665139209b0abc386474a78d89cce6f2">w25qxx_set_dual_quad_spi</a>(&amp;gs_handle, dual_quad_spi_enable);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    {</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>(<span class="stringliteral">&quot;w25qxx: set dual quad spi failed.\n&quot;</span>);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        (void)<a class="code" href="group__w25qxx__basic__driver.html#gaa293c3a46c4010a3af597a83e646de0d">w25qxx_deinit</a>(&amp;gs_handle);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;       </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="comment">/* chip init */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    res = <a class="code" href="group__w25qxx__basic__driver.html#ga8e7a163b3d255b8c7fc035d0d60f2491">w25qxx_init</a>(&amp;gs_handle);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    {</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>(<span class="stringliteral">&quot;w25qxx: init failed.\n&quot;</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;       </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keywordflow">if</span> (type &gt;= <a class="code" href="group__w25qxx__basic__driver.html#gga6cb4e5164464df549201dd96cb7a58b1ab6db6bd31731e4e95040e8d47f0e45ca">W25Q256</a>)</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        {</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            res = <a class="code" href="group__w25qxx__basic__driver.html#gad0e125eff304ce66fb3956d2c8c80656">w25qxx_set_address_mode</a>(&amp;gs_handle, <a class="code" href="group__w25qxx__basic__driver.html#ggaa4c45f146d1ade8a2da8e751818fa4a2aa29a90b6728795aa010735e44a5292fe">W25QXX_ADDRESS_MODE_4_BYTE</a>);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            <span class="keywordflow">if</span> (res != 0)</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            {</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                <a class="code" href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a>(<span class="stringliteral">&quot;w25qxx: set address mode failed.\n&quot;</span>);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                (void)<a class="code" href="group__w25qxx__basic__driver.html#gaa293c3a46c4010a3af597a83e646de0d">w25qxx_deinit</a>(&amp;gs_handle);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;               </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            }</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    }</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaf390bbb2c4140f49d25822d963ead722">  125</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaf390bbb2c4140f49d25822d963ead722">w25qxx_advance_deinit</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;{</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gaa293c3a46c4010a3af597a83e646de0d">w25qxx_deinit</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    {</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    }</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;}</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga63f4e1dce2ef7c7de56461524fd22d04">  147</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga63f4e1dce2ef7c7de56461524fd22d04">w25qxx_advance_write</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;{</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gaaee8264d840e51460821cb6e609338ee">w25qxx_write</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    }</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    {</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga013a389763200b54daaa345adf9329dc">  169</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga013a389763200b54daaa345adf9329dc">w25qxx_advance_read</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;{</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gae7479fc9ce911a52e3c5b6f1a615b879">w25qxx_read</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    {</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;}</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga5599de31797633ae75a63bcd5a8f4736">  188</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga5599de31797633ae75a63bcd5a8f4736">w25qxx_advance_power_down</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;{</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gae4effce67e36120325e3c7b245b90142">w25qxx_power_down</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    {</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    }</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    {</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    }</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga8a57e2d056d452abc14b0a08d4223251">  207</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga8a57e2d056d452abc14b0a08d4223251">w25qxx_advance_wake_up</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;{</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga09c9b52877516a2ee4c080dc249e7331">w25qxx_release_power_down</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    {</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    }</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;}</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160; </div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga15cb243f227ef8d897ef3208b622bded">  226</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga15cb243f227ef8d897ef3208b622bded">w25qxx_advance_chip_erase</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;{</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga0862833b36831f92684980b2e21f2e39">w25qxx_chip_erase</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    {</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    }</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    {</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    }</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;}</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga0f49d960f8b6c6498ab293b369ffc389">  247</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga0f49d960f8b6c6498ab293b369ffc389">w25qxx_advance_get_id</a>(uint8_t *manufacturer, uint8_t *device_id)</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;{</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga921836a777b082ff4d0f322ccfda6b22">w25qxx_get_manufacturer_device_id</a>(&amp;gs_handle, manufacturer, device_id) != 0)</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    {</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    }</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    {</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    }</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;}</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga39ff13988a3d451231cec3260c13a4cd">  269</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga39ff13988a3d451231cec3260c13a4cd">w25qxx_advance_page_program</a>(uint32_t addr, uint8_t *data, uint16_t len)</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;{</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga6280e7e4ab26306436e2c210617a28b3">w25qxx_page_program</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    {</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    }</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    }</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;}</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga9325acc424c95624f15e11631082201d">  289</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga9325acc424c95624f15e11631082201d">w25qxx_advance_sector_erase_4k</a>(uint32_t addr)</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;{</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga9a03c51b4c84655350c15fbfce0a6b40">w25qxx_sector_erase_4k</a>(&amp;gs_handle, addr) != 0)</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    {</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    {</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    }</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;}</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160; </div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaee04edb9e97785e423dffe14a1cad780">  309</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaee04edb9e97785e423dffe14a1cad780">w25qxx_advance_block_erase_32k</a>(uint32_t addr)</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;{</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga39c8fb382e8c3e4d57232dfa79af781c">w25qxx_block_erase_32k</a>(&amp;gs_handle, addr) != 0)</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    {</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    }</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    {</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    }</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;}</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160; </div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gae7cba4e0b22a1043fe304e46148fa13c">  329</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gae7cba4e0b22a1043fe304e46148fa13c">w25qxx_advance_block_erase_64k</a>(uint32_t addr)</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;{</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gaf53bc5f6073482b9b74efd417ec7ac83">w25qxx_block_erase_64k</a>(&amp;gs_handle, addr) != 0)</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    {</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    }</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    {</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    }</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;}</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160; </div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga7ade25a387b9d03ddecefd86fb328389">  351</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga7ade25a387b9d03ddecefd86fb328389">w25qxx_advance_fast_read</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;{</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#gac345ba10af5ad355578fa97697487123">w25qxx_fast_read</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    {</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    }</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    {</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    }</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;}</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gac1c7f320706dd6d6d937da75b8a4da93">  373</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gac1c7f320706dd6d6d937da75b8a4da93">w25qxx_advance_only_spi_read</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;{</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__basic__driver.html#ga1e9ebf198137d23558dbf6470213c472">w25qxx_only_spi_read</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    {</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    }</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    {</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    }</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;}</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160; </div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga364d891407cf323d3686d36ad6357604">  395</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga364d891407cf323d3686d36ad6357604">w25qxx_advance_only_spi_fast_read_dual_output</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;{</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga7a19230ca3916816ea8fb7421483d293">w25qxx_fast_read_dual_output</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    {</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    {</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    }</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;}</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; </div>
<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaf5f978c432de7d6adaf41cd256724a01">  417</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaf5f978c432de7d6adaf41cd256724a01">w25qxx_advance_only_spi_fast_read_quad_output</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;{</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gaf4bfafd1f80aa0316a4b1a15183dcd50">w25qxx_fast_read_quad_output</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    {</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    }</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    {</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;    }</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;}</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160; </div>
<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga4bbaf1a989fae25d16d07edb1e38ca4f">  439</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga4bbaf1a989fae25d16d07edb1e38ca4f">w25qxx_advance_only_spi_fast_read_dual_io</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;{</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gac894f4650905cba10dd3a31284de6d5e">w25qxx_fast_read_dual_io</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    {</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    }</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    {</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    }</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;}</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00461"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga395add1fa33f4f70d0ba52b38842dbdb">  461</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga395add1fa33f4f70d0ba52b38842dbdb">w25qxx_advance_only_spi_fast_read_quad_io</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;{</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gab97a64bd3776874518f60381d921ae41">w25qxx_fast_read_quad_io</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    {</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    }</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;    {</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    }</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;}</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaca6b4c6ea32dd96a4ae8714e2862d67a">  483</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaca6b4c6ea32dd96a4ae8714e2862d67a">w25qxx_advance_only_spi_word_read_quad_io</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;{</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gad97d7e410dd77c49334097a0fd332660">w25qxx_word_read_quad_io</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;    {</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    }</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    {</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    }</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;}</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; </div>
<div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga825a567c535236d7d18ffccf07df59e9">  505</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga825a567c535236d7d18ffccf07df59e9">w25qxx_advance_only_spi_octal_word_read_quad_io</a>(uint32_t addr, uint8_t *data, uint32_t len)</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;{</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga88a62ec42e86db821ff3f0d3ab541dbb">w25qxx_octal_word_read_quad_io</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    {</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    }</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;    {</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    }</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;}</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160; </div>
<div class="line"><a name="l00527"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gad243655eb738e44c50e6079c983fd782">  527</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gad243655eb738e44c50e6079c983fd782">w25qxx_advance_only_spi_page_program_quad_input</a>(uint32_t addr, uint8_t *data, uint16_t len)</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;{</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga1f80bbbaaa852eecfffb87737889363d">w25qxx_page_program_quad_input</a>(&amp;gs_handle, addr, data, len) != 0)</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;    {</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    }</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    {</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    }</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;}</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160; </div>
<div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga4c1be6979b4dc878d07ec86b8624c9d2">  547</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga4c1be6979b4dc878d07ec86b8624c9d2">w25qxx_advance_get_status1</a>(uint8_t *status)</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;{</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gaa77d2b00b4fb9cf586f77ace827ea7c6">w25qxx_get_status1</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;    {</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;    }</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;    {</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;    }</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;}</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160; </div>
<div class="line"><a name="l00567"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaf4736fff906c2f0c1dbed26b20847052">  567</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaf4736fff906c2f0c1dbed26b20847052">w25qxx_advance_get_status2</a>(uint8_t *status)</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;{</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gaa21237ecbd5951b8017799066e7db5d9">w25qxx_get_status2</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    {</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;    }</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;    {</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    }</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;}</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160; </div>
<div class="line"><a name="l00587"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga31bcd3d2cc68d2fc589685b5087bd8b3">  587</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga31bcd3d2cc68d2fc589685b5087bd8b3">w25qxx_advance_get_status3</a>(uint8_t *status)</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;{</div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga99cf6a325a00921d4531004f0c1d75b1">w25qxx_get_status3</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;    {</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;    }</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;    {</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;    }</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;}</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160; </div>
<div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga5e4938b4575c417ae22fa82079459b1a">  607</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga5e4938b4575c417ae22fa82079459b1a">w25qxx_advance_set_status1</a>(uint8_t status)</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;{</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga246e0bb07c8bbb39731f17906779c012">w25qxx_set_status1</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;    {</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;    }</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;    {</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    }</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;}</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160; </div>
<div class="line"><a name="l00627"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga9bc0e696b700d66f15b3605e10d33718">  627</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga9bc0e696b700d66f15b3605e10d33718">w25qxx_advance_set_status2</a>(uint8_t status)</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;{</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gaab5f28e8930d50dbc2178e39bc9fa456">w25qxx_set_status2</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    {</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;    }</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;    {</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;    }</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;}</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160; </div>
<div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gab5c990ebd4874137b7d23f2b896d4601">  647</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gab5c990ebd4874137b7d23f2b896d4601">w25qxx_advance_set_status3</a>(uint8_t status)</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;{</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gada897a6c6d6acb99f4dd4ff9b65ad8ee">w25qxx_set_status3</a>(&amp;gs_handle, status) != 0)</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;    {</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;    }</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;    {</div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;    }</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;}</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160; </div>
<div class="line"><a name="l00668"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gac0d9e08a37ee37563c8dbb501608a668">  668</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gac0d9e08a37ee37563c8dbb501608a668">w25qxx_advance_only_spi_get_manufacturer_device_id_dual_io</a>(uint8_t *manufacturer, uint8_t *device_id)</div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;{</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga1cd3aec1bdeabbaed5f049fbf83ceeb4">w25qxx_get_manufacturer_device_id_dual_io</a>(&amp;gs_handle, manufacturer, device_id) != 0)</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;    {</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;    }</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;    {</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;    }</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;}</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160; </div>
<div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga6142b5a1e8602e2990dec34015812615">  689</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga6142b5a1e8602e2990dec34015812615">w25qxx_advance_only_spi_get_manufacturer_device_id_quad_io</a>(uint8_t *manufacturer, uint8_t *device_id)</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;{</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga61bd3ce40b76b6862c6a53e0e37a3455">w25qxx_get_manufacturer_device_id_quad_io</a>(&amp;gs_handle, manufacturer, device_id) != 0)</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    {</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;    }</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;    {</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;}</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160; </div>
<div class="line"><a name="l00710"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gacc7435a39b61c44f0ce16690d5da896b">  710</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gacc7435a39b61c44f0ce16690d5da896b">w25qxx_advance_get_get_jedec_id</a>(uint8_t *manufacturer, uint8_t device_id[2])</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;{</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga8a93ba14a032e10a27f1495fdcf56058">w25qxx_get_jedec_id</a>(&amp;gs_handle, manufacturer, device_id) != 0)</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    {</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    }</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;    {</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;    }</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;}</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160; </div>
<div class="line"><a name="l00729"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga2cbcc018dc11a870d2e0fc3a8946b1d8">  729</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga2cbcc018dc11a870d2e0fc3a8946b1d8">w25qxx_advance_global_block_lock</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;{</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gab5579bc42bc07a7657848140888a817c">w25qxx_global_block_lock</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    {</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    }</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;    {</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;    }</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;}</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160; </div>
<div class="line"><a name="l00748"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga67c70da103511d1cff9274e61a08ce56">  748</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga67c70da103511d1cff9274e61a08ce56">w25qxx_advance_global_block_unlock</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;{</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga6d62f7d14945cfde7cde7a0e9a4e3afb">w25qxx_global_block_unlock</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    {</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;    }</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;    {</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    }</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;}</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160; </div>
<div class="line"><a name="l00768"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaa7af99e92b3e81f5b202575b55dc3a7c">  768</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaa7af99e92b3e81f5b202575b55dc3a7c">w25qxx_advance_individual_block_lock</a>(uint32_t addr)</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;{</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga4f00c2c169cb7c3084841c6cd795e76b">w25qxx_individual_block_lock</a>(&amp;gs_handle, addr) != 0)</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    {</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    }</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;    {</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;    }</div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;}</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160; </div>
<div class="line"><a name="l00788"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga66726fc451c7804e8fec6eb46a6a77d6">  788</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga66726fc451c7804e8fec6eb46a6a77d6">w25qxx_advance_individual_block_unlock</a>(uint32_t addr)</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;{</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga7f88cedf7619071b3235ba094915b2a7">w25qxx_individual_block_unlock</a>(&amp;gs_handle, addr) != 0)</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;    {</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;    }</div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;    {</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;    }</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;}</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160; </div>
<div class="line"><a name="l00809"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gac1773fe914a01825ca28346205601036">  809</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gac1773fe914a01825ca28346205601036">w25qxx_advance_read_block_lock</a>(uint32_t addr, uint8_t *value)</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;{</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga59e655ca78a175037ca810bbc8539a96">w25qxx_read_block_lock</a>(&amp;gs_handle, addr, value) != 0)</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;    {</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;    }</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;    {</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    }</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;}</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160; </div>
<div class="line"><a name="l00828"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga0f65053ad28443f19ed73dbc3412b5b2">  828</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga0f65053ad28443f19ed73dbc3412b5b2">w25qxx_advance_reset</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;{</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gab55b4e071e20feb58584025287949438">w25qxx_enable_reset</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;    {</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;    }</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga2abebfe2a8d9377eb88448ffca73f222">w25qxx_reset_device</a>(&amp;gs_handle) != 0)</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    {</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;    }</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;    {</div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;    }</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;}</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160; </div>
<div class="line"><a name="l00853"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gace2a5b7acd9798cfcaa2b5eb2f18e1d1">  853</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gace2a5b7acd9798cfcaa2b5eb2f18e1d1">w25qxx_advance_only_qspi_set_read_parameters</a>(<a class="code" href="group__w25qxx__advance__driver.html#ga6ff284154302248f00db269146545443">w25qxx_qspi_read_dummy_t</a> dummy, <a class="code" href="group__w25qxx__advance__driver.html#ga2fd3023819e1aebe089a4a72eb136da3">w25qxx_qspi_read_wrap_length_t</a> length)</div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;{</div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga9ad10781d888b32b43b9eba45d049624">w25qxx_set_read_parameters</a>(&amp;gs_handle, dummy, length) != 0)</div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;    {</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;    }</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    {</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;    }</div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;}</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160; </div>
<div class="line"><a name="l00873"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga374d35b73fa61d5f7464c3effdae1d57">  873</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga374d35b73fa61d5f7464c3effdae1d57">w25qxx_advance_only_spi_get_unique_id</a>(uint8_t <span class="keywordtype">id</span>[8])</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;{</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga11af244389478de68a6777076ee82d69">w25qxx_get_unique_id</a>(&amp;gs_handle, <span class="keywordtype">id</span>) != 0)</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;    {</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;    }</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;    {</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;    }</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;}</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160; </div>
<div class="line"><a name="l00893"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga9b1854e0ae52f57523bc2fa7cc0656df">  893</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga9b1854e0ae52f57523bc2fa7cc0656df">w25qxx_advance_only_spi_get_sfdp</a>(uint8_t sfdp[256])</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;{</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga244a91b9c0c32e899ca89e1943045624">w25qxx_get_sfdp</a>(&amp;gs_handle, sfdp) != 0)</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;    {</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;    }</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;    {</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;    }</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;}</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160; </div>
<div class="line"><a name="l00914"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#gaa6c5f97106e769ba071973cc2e782ad4">  914</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#gaa6c5f97106e769ba071973cc2e782ad4">w25qxx_advance_only_spi_write_security_register</a>(<a class="code" href="group__w25qxx__advance__driver.html#ga81ddc7d4b9f4f124163beea19cc33c7e">w25qxx_security_register_t</a> num, uint8_t data[256])</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;{</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gaf297e2c6877c64f8fd10a555f783ddaf">w25qxx_erase_security_register</a>(&amp;gs_handle, num) != 0)</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;    {</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;    }</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga4e9c059ff78866e478e835cb27a92899">w25qxx_program_security_register</a>(&amp;gs_handle, num, data) != 0)</div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;    {</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;    }</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;    {</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;    }</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;}</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160; </div>
<div class="line"><a name="l00939"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga02652a58ee418b432cf77505809d7d42">  939</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga02652a58ee418b432cf77505809d7d42">w25qxx_advance_only_spi_read_security_register</a>(<a class="code" href="group__w25qxx__advance__driver.html#ga81ddc7d4b9f4f124163beea19cc33c7e">w25qxx_security_register_t</a> num, uint8_t data[256])</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;{</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#ga4c65debc4947bd9a61e0073105164b9c">w25qxx_read_security_register</a>(&amp;gs_handle, num, data) != 0)</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;    {</div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;    }</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;    {</div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;    }</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160;}</div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160; </div>
<div class="line"><a name="l00959"></a><span class="lineno"><a class="line" href="group__w25qxx__example__driver.html#ga16411577fcb794f7485912f5db1bdde9">  959</a></span>&#160;uint8_t <a class="code" href="group__w25qxx__example__driver.html#ga16411577fcb794f7485912f5db1bdde9">w25qxx_advance_only_spi_set_burst_with_wrap</a>(<a class="code" href="group__w25qxx__advance__driver.html#ga94bbae2bf8906903e8dc2a28c490723d">w25qxx_burst_wrap_t</a> wrap)</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;{</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="group__w25qxx__advance__driver.html#gac19c1d0f3fd48968ea2a93c1dbe3d75d">w25qxx_set_burst_with_wrap</a>(&amp;gs_handle, wrap) != 0)</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;    {</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;        <span class="keywordflow">return</span> 1;</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;    }</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;    {</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;    }</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;}</div>
<div class="ttc" id="adriver__w25qxx__advance_8h_html"><div class="ttname"><a href="driver__w25qxx__advance_8h.html">driver_w25qxx_advance.h</a></div><div class="ttdoc">driver w25qxx advance header file</div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga11af244389478de68a6777076ee82d69"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga11af244389478de68a6777076ee82d69">w25qxx_get_unique_id</a></div><div class="ttdeci">uint8_t w25qxx_get_unique_id(w25qxx_handle_t *handle, uint8_t id[8])</div><div class="ttdoc">get the unique id</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02764">driver_w25qxx.c:2764</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga1cd3aec1bdeabbaed5f049fbf83ceeb4"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga1cd3aec1bdeabbaed5f049fbf83ceeb4">w25qxx_get_manufacturer_device_id_dual_io</a></div><div class="ttdeci">uint8_t w25qxx_get_manufacturer_device_id_dual_io(w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">get the manufacturer &amp;&amp; device id information with dual io</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02038">driver_w25qxx.c:2038</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga1f80bbbaaa852eecfffb87737889363d"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga1f80bbbaaa852eecfffb87737889363d">w25qxx_page_program_quad_input</a></div><div class="ttdeci">uint8_t w25qxx_page_program_quad_input(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint16_t len)</div><div class="ttdoc">quad page program with quad input</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04920">driver_w25qxx.c:4920</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga244a91b9c0c32e899ca89e1943045624"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga244a91b9c0c32e899ca89e1943045624">w25qxx_get_sfdp</a></div><div class="ttdeci">uint8_t w25qxx_get_sfdp(w25qxx_handle_t *handle, uint8_t sfdp[256])</div><div class="ttdoc">get the sfdp</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02880">driver_w25qxx.c:2880</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga246e0bb07c8bbb39731f17906779c012"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga246e0bb07c8bbb39731f17906779c012">w25qxx_set_status1</a></div><div class="ttdeci">uint8_t w25qxx_set_status1(w25qxx_handle_t *handle, uint8_t status)</div><div class="ttdoc">set the status 1</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00863">driver_w25qxx.c:863</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga2abebfe2a8d9377eb88448ffca73f222"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga2abebfe2a8d9377eb88448ffca73f222">w25qxx_reset_device</a></div><div class="ttdeci">uint8_t w25qxx_reset_device(w25qxx_handle_t *handle)</div><div class="ttdoc">reset the device</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02690">driver_w25qxx.c:2690</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga2fd3023819e1aebe089a4a72eb136da3"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga2fd3023819e1aebe089a4a72eb136da3">w25qxx_qspi_read_wrap_length_t</a></div><div class="ttdeci">w25qxx_qspi_read_wrap_length_t</div><div class="ttdoc">w25qxx qspi read wrap length enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00125">driver_w25qxx.h:126</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga4c65debc4947bd9a61e0073105164b9c"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga4c65debc4947bd9a61e0073105164b9c">w25qxx_read_security_register</a></div><div class="ttdeci">uint8_t w25qxx_read_security_register(w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256])</div><div class="ttdoc">read the security register</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03344">driver_w25qxx.c:3344</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga4e9c059ff78866e478e835cb27a92899"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga4e9c059ff78866e478e835cb27a92899">w25qxx_program_security_register</a></div><div class="ttdeci">uint8_t w25qxx_program_security_register(w25qxx_handle_t *handle, w25qxx_security_register_t num, uint8_t data[256])</div><div class="ttdoc">program the security register</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03147">driver_w25qxx.c:3147</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga4f00c2c169cb7c3084841c6cd795e76b"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga4f00c2c169cb7c3084841c6cd795e76b">w25qxx_individual_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_individual_block_lock(w25qxx_handle_t *handle, uint32_t addr)</div><div class="ttdoc">lock the individual block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l06094">driver_w25qxx.c:6094</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga59e655ca78a175037ca810bbc8539a96"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga59e655ca78a175037ca810bbc8539a96">w25qxx_read_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_read_block_lock(w25qxx_handle_t *handle, uint32_t addr, uint8_t *value)</div><div class="ttdoc">read the block lock</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l06529">driver_w25qxx.c:6529</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga61bd3ce40b76b6862c6a53e0e37a3455"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga61bd3ce40b76b6862c6a53e0e37a3455">w25qxx_get_manufacturer_device_id_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_get_manufacturer_device_id_quad_io(w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">get the manufacturer &amp;&amp; device id information with quad io</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02122">driver_w25qxx.c:2122</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga6d62f7d14945cfde7cde7a0e9a4e3afb"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga6d62f7d14945cfde7cde7a0e9a4e3afb">w25qxx_global_block_unlock</a></div><div class="ttdeci">uint8_t w25qxx_global_block_unlock(w25qxx_handle_t *handle)</div><div class="ttdoc">unlock the whole block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02354">driver_w25qxx.c:2354</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga6ff284154302248f00db269146545443"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga6ff284154302248f00db269146545443">w25qxx_qspi_read_dummy_t</a></div><div class="ttdeci">w25qxx_qspi_read_dummy_t</div><div class="ttdoc">w25qxx qspi read dummy enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00114">driver_w25qxx.h:115</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga7a19230ca3916816ea8fb7421483d293"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga7a19230ca3916816ea8fb7421483d293">w25qxx_fast_read_dual_output</a></div><div class="ttdeci">uint8_t w25qxx_fast_read_dual_output(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read with dual output in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03858">driver_w25qxx.c:3858</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga7f88cedf7619071b3235ba094915b2a7"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga7f88cedf7619071b3235ba094915b2a7">w25qxx_individual_block_unlock</a></div><div class="ttdeci">uint8_t w25qxx_individual_block_unlock(w25qxx_handle_t *handle, uint32_t addr)</div><div class="ttdoc">unlock the individual block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l06311">driver_w25qxx.c:6311</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga81ddc7d4b9f4f124163beea19cc33c7e"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga81ddc7d4b9f4f124163beea19cc33c7e">w25qxx_security_register_t</a></div><div class="ttdeci">w25qxx_security_register_t</div><div class="ttdoc">w25qxx security register enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00137">driver_w25qxx.h:138</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga88a62ec42e86db821ff3f0d3ab541dbb"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga88a62ec42e86db821ff3f0d3ab541dbb">w25qxx_octal_word_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_octal_word_read_quad_io(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">octal word read with quad io</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04459">driver_w25qxx.c:4459</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga8a93ba14a032e10a27f1495fdcf56058"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga8a93ba14a032e10a27f1495fdcf56058">w25qxx_get_jedec_id</a></div><div class="ttdeci">uint8_t w25qxx_get_jedec_id(w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t device_id[2])</div><div class="ttdoc">get the jedec id information</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02203">driver_w25qxx.c:2203</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga94bbae2bf8906903e8dc2a28c490723d"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga94bbae2bf8906903e8dc2a28c490723d">w25qxx_burst_wrap_t</a></div><div class="ttdeci">w25qxx_burst_wrap_t</div><div class="ttdoc">w25qxx burst wrap enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00147">driver_w25qxx.h:148</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga99cf6a325a00921d4531004f0c1d75b1"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga99cf6a325a00921d4531004f0c1d75b1">w25qxx_get_status3</a></div><div class="ttdeci">uint8_t w25qxx_get_status3(w25qxx_handle_t *handle, uint8_t *status)</div><div class="ttdoc">get the status 3</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00789">driver_w25qxx.c:789</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_ga9ad10781d888b32b43b9eba45d049624"><div class="ttname"><a href="group__w25qxx__advance__driver.html#ga9ad10781d888b32b43b9eba45d049624">w25qxx_set_read_parameters</a></div><div class="ttdeci">uint8_t w25qxx_set_read_parameters(w25qxx_handle_t *handle, w25qxx_qspi_read_dummy_t dummy, w25qxx_qspi_read_wrap_length_t length)</div><div class="ttdoc">set the read parameters</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02427">driver_w25qxx.c:2427</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gaa21237ecbd5951b8017799066e7db5d9"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gaa21237ecbd5951b8017799066e7db5d9">w25qxx_get_status2</a></div><div class="ttdeci">uint8_t w25qxx_get_status2(w25qxx_handle_t *handle, uint8_t *status)</div><div class="ttdoc">get the status 2</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00716">driver_w25qxx.c:716</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gaa77d2b00b4fb9cf586f77ace827ea7c6"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gaa77d2b00b4fb9cf586f77ace827ea7c6">w25qxx_get_status1</a></div><div class="ttdeci">uint8_t w25qxx_get_status1(w25qxx_handle_t *handle, uint8_t *status)</div><div class="ttdoc">get the status 1</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00643">driver_w25qxx.c:643</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gaab5f28e8930d50dbc2178e39bc9fa456"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gaab5f28e8930d50dbc2178e39bc9fa456">w25qxx_set_status2</a></div><div class="ttdeci">uint8_t w25qxx_set_status2(w25qxx_handle_t *handle, uint8_t status)</div><div class="ttdoc">set the status 2</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01062">driver_w25qxx.c:1062</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gab5579bc42bc07a7657848140888a817c"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gab5579bc42bc07a7657848140888a817c">w25qxx_global_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_global_block_lock(w25qxx_handle_t *handle)</div><div class="ttdoc">lock the whole block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02284">driver_w25qxx.c:2284</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gab55b4e071e20feb58584025287949438"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gab55b4e071e20feb58584025287949438">w25qxx_enable_reset</a></div><div class="ttdeci">uint8_t w25qxx_enable_reset(w25qxx_handle_t *handle)</div><div class="ttdoc">enable the reset</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02619">driver_w25qxx.c:2619</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gab97a64bd3776874518f60381d921ae41"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gab97a64bd3776874518f60381d921ae41">w25qxx_fast_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_fast_read_quad_io(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read with quad io in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04184">driver_w25qxx.c:4184</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gac19c1d0f3fd48968ea2a93c1dbe3d75d"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gac19c1d0f3fd48968ea2a93c1dbe3d75d">w25qxx_set_burst_with_wrap</a></div><div class="ttdeci">uint8_t w25qxx_set_burst_with_wrap(w25qxx_handle_t *handle, w25qxx_burst_wrap_t wrap)</div><div class="ttdoc">set the burst with wrap</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l06746">driver_w25qxx.c:6746</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gac894f4650905cba10dd3a31284de6d5e"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gac894f4650905cba10dd3a31284de6d5e">w25qxx_fast_read_dual_io</a></div><div class="ttdeci">uint8_t w25qxx_fast_read_dual_io(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read with dual io in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04076">driver_w25qxx.c:4076</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gad97d7e410dd77c49334097a0fd332660"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gad97d7e410dd77c49334097a0fd332660">w25qxx_word_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_word_read_quad_io(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">word read with quad io</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04350">driver_w25qxx.c:4350</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gada897a6c6d6acb99f4dd4ff9b65ad8ee"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gada897a6c6d6acb99f4dd4ff9b65ad8ee">w25qxx_set_status3</a></div><div class="ttdeci">uint8_t w25qxx_set_status3(w25qxx_handle_t *handle, uint8_t status)</div><div class="ttdoc">set the status 3</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01261">driver_w25qxx.c:1261</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gaf297e2c6877c64f8fd10a555f783ddaf"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gaf297e2c6877c64f8fd10a555f783ddaf">w25qxx_erase_security_register</a></div><div class="ttdeci">uint8_t w25qxx_erase_security_register(w25qxx_handle_t *handle, w25qxx_security_register_t num)</div><div class="ttdoc">erase the security register</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l02952">driver_w25qxx.c:2952</a></div></div>
<div class="ttc" id="agroup__w25qxx__advance__driver_html_gaf4bfafd1f80aa0316a4b1a15183dcd50"><div class="ttname"><a href="group__w25qxx__advance__driver.html#gaf4bfafd1f80aa0316a4b1a15183dcd50">w25qxx_fast_read_quad_output</a></div><div class="ttdeci">uint8_t w25qxx_fast_read_quad_output(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read with quad output in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03967">driver_w25qxx.c:3967</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga0862833b36831f92684980b2e21f2e39"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga0862833b36831f92684980b2e21f2e39">w25qxx_chip_erase</a></div><div class="ttdeci">uint8_t w25qxx_chip_erase(w25qxx_handle_t *handle)</div><div class="ttdoc">erase the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01459">driver_w25qxx.c:1459</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga09c9b52877516a2ee4c080dc249e7331"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga09c9b52877516a2ee4c080dc249e7331">w25qxx_release_power_down</a></div><div class="ttdeci">uint8_t w25qxx_release_power_down(w25qxx_handle_t *handle)</div><div class="ttdoc">release power down</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01875">driver_w25qxx.c:1875</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga1e9ebf198137d23558dbf6470213c472"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga1e9ebf198137d23558dbf6470213c472">w25qxx_only_spi_read</a></div><div class="ttdeci">uint8_t w25qxx_only_spi_read(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03465">driver_w25qxx.c:3465</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga39c8fb382e8c3e4d57232dfa79af781c"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga39c8fb382e8c3e4d57232dfa79af781c">w25qxx_block_erase_32k</a></div><div class="ttdeci">uint8_t w25qxx_block_erase_32k(w25qxx_handle_t *handle, uint32_t addr)</div><div class="ttdoc">erase the 32k block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l05419">driver_w25qxx.c:5419</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga50a62003d566402d46ada2f272c41eb5"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga50a62003d566402d46ada2f272c41eb5">w25qxx_set_interface</a></div><div class="ttdeci">uint8_t w25qxx_set_interface(w25qxx_handle_t *handle, w25qxx_interface_t interface)</div><div class="ttdoc">set the chip interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00259">driver_w25qxx.c:259</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga6280e7e4ab26306436e2c210617a28b3"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga6280e7e4ab26306436e2c210617a28b3">w25qxx_page_program</a></div><div class="ttdeci">uint8_t w25qxx_page_program(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint16_t len)</div><div class="ttdoc">page program</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l04569">driver_w25qxx.c:4569</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga665139209b0abc386474a78d89cce6f2"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga665139209b0abc386474a78d89cce6f2">w25qxx_set_dual_quad_spi</a></div><div class="ttdeci">uint8_t w25qxx_set_dual_quad_spi(w25qxx_handle_t *handle, w25qxx_bool_t enable)</div><div class="ttdoc">enable or disable the dual quad spi</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00175">driver_w25qxx.c:175</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga6cb4e5164464df549201dd96cb7a58b1"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga6cb4e5164464df549201dd96cb7a58b1">w25qxx_type_t</a></div><div class="ttdeci">w25qxx_type_t</div><div class="ttdoc">w25qxx type enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00062">driver_w25qxx.h:63</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga8e7a163b3d255b8c7fc035d0d60f2491"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga8e7a163b3d255b8c7fc035d0d60f2491">w25qxx_init</a></div><div class="ttdeci">uint8_t w25qxx_init(w25qxx_handle_t *handle)</div><div class="ttdoc">initialize the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l06819">driver_w25qxx.c:6819</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga921836a777b082ff4d0f322ccfda6b22"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga921836a777b082ff4d0f322ccfda6b22">w25qxx_get_manufacturer_device_id</a></div><div class="ttdeci">uint8_t w25qxx_get_manufacturer_device_id(w25qxx_handle_t *handle, uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">get the manufacturer &amp;&amp; device id information</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01952">driver_w25qxx.c:1952</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ga9a03c51b4c84655350c15fbfce0a6b40"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ga9a03c51b4c84655350c15fbfce0a6b40">w25qxx_sector_erase_4k</a></div><div class="ttdeci">uint8_t w25qxx_sector_erase_4k(w25qxx_handle_t *handle, uint32_t addr)</div><div class="ttdoc">erase the 4k sector</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l05080">driver_w25qxx.c:5080</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gaa293c3a46c4010a3af597a83e646de0d"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gaa293c3a46c4010a3af597a83e646de0d">w25qxx_deinit</a></div><div class="ttdeci">uint8_t w25qxx_deinit(w25qxx_handle_t *handle)</div><div class="ttdoc">close the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l07195">driver_w25qxx.c:7195</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gaa57189cd4170b73f8b1300ca15e27de6"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gaa57189cd4170b73f8b1300ca15e27de6">w25qxx_set_type</a></div><div class="ttdeci">uint8_t w25qxx_set_type(w25qxx_handle_t *handle, w25qxx_type_t type)</div><div class="ttdoc">set the chip type</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00217">driver_w25qxx.c:217</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gaaee8264d840e51460821cb6e609338ee"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gaaee8264d840e51460821cb6e609338ee">w25qxx_write</a></div><div class="ttdeci">uint8_t w25qxx_write(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">write data</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l08415">driver_w25qxx.c:8415</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gac345ba10af5ad355578fa97697487123"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gac345ba10af5ad355578fa97697487123">w25qxx_fast_read</a></div><div class="ttdeci">uint8_t w25qxx_fast_read(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l03634">driver_w25qxx.c:3634</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gacbf327a42336baf10713a1796ff4f2fe"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gacbf327a42336baf10713a1796ff4f2fe">w25qxx_interface_t</a></div><div class="ttdeci">w25qxx_interface_t</div><div class="ttdoc">w25qxx interface enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00078">driver_w25qxx.h:79</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gad0e125eff304ce66fb3956d2c8c80656"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gad0e125eff304ce66fb3956d2c8c80656">w25qxx_set_address_mode</a></div><div class="ttdeci">uint8_t w25qxx_set_address_mode(w25qxx_handle_t *handle, w25qxx_address_mode_t mode)</div><div class="ttdoc">set the chip address mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l00304">driver_w25qxx.c:304</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gae4effce67e36120325e3c7b245b90142"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gae4effce67e36120325e3c7b245b90142">w25qxx_power_down</a></div><div class="ttdeci">uint8_t w25qxx_power_down(w25qxx_handle_t *handle)</div><div class="ttdoc">power down</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l01792">driver_w25qxx.c:1792</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gae7479fc9ce911a52e3c5b6f1a615b879"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gae7479fc9ce911a52e3c5b6f1a615b879">w25qxx_read</a></div><div class="ttdeci">uint8_t w25qxx_read(w25qxx_handle_t *handle, uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">read data</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l07289">driver_w25qxx.c:7289</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gaf53bc5f6073482b9b74efd417ec7ac83"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gaf53bc5f6073482b9b74efd417ec7ac83">w25qxx_block_erase_64k</a></div><div class="ttdeci">uint8_t w25qxx_block_erase_64k(w25qxx_handle_t *handle, uint32_t addr)</div><div class="ttdoc">erase the 64k block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8c_source.html#l05758">driver_w25qxx.c:5758</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gafb2690946f5baf4be6f3a63dde5491fb"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gafb2690946f5baf4be6f3a63dde5491fb">w25qxx_bool_t</a></div><div class="ttdeci">w25qxx_bool_t</div><div class="ttdoc">w25qxx bool enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00087">driver_w25qxx.h:88</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_gga6cb4e5164464df549201dd96cb7a58b1ab6db6bd31731e4e95040e8d47f0e45ca"><div class="ttname"><a href="group__w25qxx__basic__driver.html#gga6cb4e5164464df549201dd96cb7a58b1ab6db6bd31731e4e95040e8d47f0e45ca">W25Q256</a></div><div class="ttdeci">@ W25Q256</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00069">driver_w25qxx.h:69</a></div></div>
<div class="ttc" id="agroup__w25qxx__basic__driver_html_ggaa4c45f146d1ade8a2da8e751818fa4a2aa29a90b6728795aa010735e44a5292fe"><div class="ttname"><a href="group__w25qxx__basic__driver.html#ggaa4c45f146d1ade8a2da8e751818fa4a2aa29a90b6728795aa010735e44a5292fe">W25QXX_ADDRESS_MODE_4_BYTE</a></div><div class="ttdeci">@ W25QXX_ADDRESS_MODE_4_BYTE</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00099">driver_w25qxx.h:99</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga013a389763200b54daaa345adf9329dc"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga013a389763200b54daaa345adf9329dc">w25qxx_advance_read</a></div><div class="ttdeci">uint8_t w25qxx_advance_read(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example read</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00169">driver_w25qxx_advance.c:169</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga02652a58ee418b432cf77505809d7d42"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga02652a58ee418b432cf77505809d7d42">w25qxx_advance_only_spi_read_security_register</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_read_security_register(w25qxx_security_register_t num, uint8_t data[256])</div><div class="ttdoc">advance example read the security register only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00939">driver_w25qxx_advance.c:939</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga0f49d960f8b6c6498ab293b369ffc389"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga0f49d960f8b6c6498ab293b369ffc389">w25qxx_advance_get_id</a></div><div class="ttdeci">uint8_t w25qxx_advance_get_id(uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">advance example get the manufacturer &amp;&amp; device id information</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00247">driver_w25qxx_advance.c:247</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga0f65053ad28443f19ed73dbc3412b5b2"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga0f65053ad28443f19ed73dbc3412b5b2">w25qxx_advance_reset</a></div><div class="ttdeci">uint8_t w25qxx_advance_reset(void)</div><div class="ttdoc">advance example reset</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00828">driver_w25qxx_advance.c:828</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga15cb243f227ef8d897ef3208b622bded"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga15cb243f227ef8d897ef3208b622bded">w25qxx_advance_chip_erase</a></div><div class="ttdeci">uint8_t w25qxx_advance_chip_erase(void)</div><div class="ttdoc">advance example chip erase</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00226">driver_w25qxx_advance.c:226</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga16411577fcb794f7485912f5db1bdde9"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga16411577fcb794f7485912f5db1bdde9">w25qxx_advance_only_spi_set_burst_with_wrap</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_set_burst_with_wrap(w25qxx_burst_wrap_t wrap)</div><div class="ttdoc">advance example set the burst with wrap only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00959">driver_w25qxx_advance.c:959</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga2cbcc018dc11a870d2e0fc3a8946b1d8"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga2cbcc018dc11a870d2e0fc3a8946b1d8">w25qxx_advance_global_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_advance_global_block_lock(void)</div><div class="ttdoc">advance example global block lock</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00729">driver_w25qxx_advance.c:729</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga31bcd3d2cc68d2fc589685b5087bd8b3"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga31bcd3d2cc68d2fc589685b5087bd8b3">w25qxx_advance_get_status3</a></div><div class="ttdeci">uint8_t w25qxx_advance_get_status3(uint8_t *status)</div><div class="ttdoc">advance example get the status 3</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00587">driver_w25qxx_advance.c:587</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga364d891407cf323d3686d36ad6357604"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga364d891407cf323d3686d36ad6357604">w25qxx_advance_only_spi_fast_read_dual_output</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_fast_read_dual_output(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example fast read only in the spi dual output interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00395">driver_w25qxx_advance.c:395</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga374d35b73fa61d5f7464c3effdae1d57"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga374d35b73fa61d5f7464c3effdae1d57">w25qxx_advance_only_spi_get_unique_id</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_get_unique_id(uint8_t id[8])</div><div class="ttdoc">advance example get the unique id only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00873">driver_w25qxx_advance.c:873</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga395add1fa33f4f70d0ba52b38842dbdb"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga395add1fa33f4f70d0ba52b38842dbdb">w25qxx_advance_only_spi_fast_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_fast_read_quad_io(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example fast read only in the spi quad io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00461">driver_w25qxx_advance.c:461</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga39ff13988a3d451231cec3260c13a4cd"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga39ff13988a3d451231cec3260c13a4cd">w25qxx_advance_page_program</a></div><div class="ttdeci">uint8_t w25qxx_advance_page_program(uint32_t addr, uint8_t *data, uint16_t len)</div><div class="ttdoc">advance example page program</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00269">driver_w25qxx_advance.c:269</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga413b420bc199d09ce5cafee4a4debb28"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga413b420bc199d09ce5cafee4a4debb28">w25qxx_advance_init</a></div><div class="ttdeci">uint8_t w25qxx_advance_init(w25qxx_type_t type, w25qxx_interface_t interface, w25qxx_bool_t dual_quad_spi_enable)</div><div class="ttdoc">advance example init</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00051">driver_w25qxx_advance.c:51</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga4bbaf1a989fae25d16d07edb1e38ca4f"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga4bbaf1a989fae25d16d07edb1e38ca4f">w25qxx_advance_only_spi_fast_read_dual_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_fast_read_dual_io(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example fast read only in the spi dual io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00439">driver_w25qxx_advance.c:439</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga4c1be6979b4dc878d07ec86b8624c9d2"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga4c1be6979b4dc878d07ec86b8624c9d2">w25qxx_advance_get_status1</a></div><div class="ttdeci">uint8_t w25qxx_advance_get_status1(uint8_t *status)</div><div class="ttdoc">advance example get the status 1</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00547">driver_w25qxx_advance.c:547</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga5599de31797633ae75a63bcd5a8f4736"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga5599de31797633ae75a63bcd5a8f4736">w25qxx_advance_power_down</a></div><div class="ttdeci">uint8_t w25qxx_advance_power_down(void)</div><div class="ttdoc">advance example power down</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00188">driver_w25qxx_advance.c:188</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga5e4938b4575c417ae22fa82079459b1a"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga5e4938b4575c417ae22fa82079459b1a">w25qxx_advance_set_status1</a></div><div class="ttdeci">uint8_t w25qxx_advance_set_status1(uint8_t status)</div><div class="ttdoc">advance example set the status 1</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00607">driver_w25qxx_advance.c:607</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga6142b5a1e8602e2990dec34015812615"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga6142b5a1e8602e2990dec34015812615">w25qxx_advance_only_spi_get_manufacturer_device_id_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_get_manufacturer_device_id_quad_io(uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">advance example get the manufacturer &amp;&amp; device id information only in the spi quad io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00689">driver_w25qxx_advance.c:689</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga63f4e1dce2ef7c7de56461524fd22d04"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga63f4e1dce2ef7c7de56461524fd22d04">w25qxx_advance_write</a></div><div class="ttdeci">uint8_t w25qxx_advance_write(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example write</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00147">driver_w25qxx_advance.c:147</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga66726fc451c7804e8fec6eb46a6a77d6"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga66726fc451c7804e8fec6eb46a6a77d6">w25qxx_advance_individual_block_unlock</a></div><div class="ttdeci">uint8_t w25qxx_advance_individual_block_unlock(uint32_t addr)</div><div class="ttdoc">advance example unlock the individual block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00788">driver_w25qxx_advance.c:788</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga67c70da103511d1cff9274e61a08ce56"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga67c70da103511d1cff9274e61a08ce56">w25qxx_advance_global_block_unlock</a></div><div class="ttdeci">uint8_t w25qxx_advance_global_block_unlock(void)</div><div class="ttdoc">advance example global block unlock</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00748">driver_w25qxx_advance.c:748</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga7ade25a387b9d03ddecefd86fb328389"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga7ade25a387b9d03ddecefd86fb328389">w25qxx_advance_fast_read</a></div><div class="ttdeci">uint8_t w25qxx_advance_fast_read(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example read in the fast mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00351">driver_w25qxx_advance.c:351</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga825a567c535236d7d18ffccf07df59e9"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga825a567c535236d7d18ffccf07df59e9">w25qxx_advance_only_spi_octal_word_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_octal_word_read_quad_io(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example octal word read only in the spi quad io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00505">driver_w25qxx_advance.c:505</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga8a57e2d056d452abc14b0a08d4223251"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga8a57e2d056d452abc14b0a08d4223251">w25qxx_advance_wake_up</a></div><div class="ttdeci">uint8_t w25qxx_advance_wake_up(void)</div><div class="ttdoc">advance example wake up</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00207">driver_w25qxx_advance.c:207</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga9325acc424c95624f15e11631082201d"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga9325acc424c95624f15e11631082201d">w25qxx_advance_sector_erase_4k</a></div><div class="ttdeci">uint8_t w25qxx_advance_sector_erase_4k(uint32_t addr)</div><div class="ttdoc">advance example erase the 4k sector</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00289">driver_w25qxx_advance.c:289</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga9b1854e0ae52f57523bc2fa7cc0656df"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga9b1854e0ae52f57523bc2fa7cc0656df">w25qxx_advance_only_spi_get_sfdp</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_get_sfdp(uint8_t sfdp[256])</div><div class="ttdoc">advance example get the sfdp only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00893">driver_w25qxx_advance.c:893</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_ga9bc0e696b700d66f15b3605e10d33718"><div class="ttname"><a href="group__w25qxx__example__driver.html#ga9bc0e696b700d66f15b3605e10d33718">w25qxx_advance_set_status2</a></div><div class="ttdeci">uint8_t w25qxx_advance_set_status2(uint8_t status)</div><div class="ttdoc">advance example set the status 2</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00627">driver_w25qxx_advance.c:627</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaa6c5f97106e769ba071973cc2e782ad4"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaa6c5f97106e769ba071973cc2e782ad4">w25qxx_advance_only_spi_write_security_register</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_write_security_register(w25qxx_security_register_t num, uint8_t data[256])</div><div class="ttdoc">advance example write the security register only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00914">driver_w25qxx_advance.c:914</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaa7af99e92b3e81f5b202575b55dc3a7c"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaa7af99e92b3e81f5b202575b55dc3a7c">w25qxx_advance_individual_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_advance_individual_block_lock(uint32_t addr)</div><div class="ttdoc">advance example lock the individual block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00768">driver_w25qxx_advance.c:768</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gab5c990ebd4874137b7d23f2b896d4601"><div class="ttname"><a href="group__w25qxx__example__driver.html#gab5c990ebd4874137b7d23f2b896d4601">w25qxx_advance_set_status3</a></div><div class="ttdeci">uint8_t w25qxx_advance_set_status3(uint8_t status)</div><div class="ttdoc">advance example set the status 3</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00647">driver_w25qxx_advance.c:647</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gac0d9e08a37ee37563c8dbb501608a668"><div class="ttname"><a href="group__w25qxx__example__driver.html#gac0d9e08a37ee37563c8dbb501608a668">w25qxx_advance_only_spi_get_manufacturer_device_id_dual_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_get_manufacturer_device_id_dual_io(uint8_t *manufacturer, uint8_t *device_id)</div><div class="ttdoc">advance example get the manufacturer &amp;&amp; device id information only in the spi dual io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00668">driver_w25qxx_advance.c:668</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gac1773fe914a01825ca28346205601036"><div class="ttname"><a href="group__w25qxx__example__driver.html#gac1773fe914a01825ca28346205601036">w25qxx_advance_read_block_lock</a></div><div class="ttdeci">uint8_t w25qxx_advance_read_block_lock(uint32_t addr, uint8_t *value)</div><div class="ttdoc">advance example read the block lock</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00809">driver_w25qxx_advance.c:809</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gac1c7f320706dd6d6d937da75b8a4da93"><div class="ttname"><a href="group__w25qxx__example__driver.html#gac1c7f320706dd6d6d937da75b8a4da93">w25qxx_advance_only_spi_read</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_read(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example read only in the spi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00373">driver_w25qxx_advance.c:373</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaca6b4c6ea32dd96a4ae8714e2862d67a"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaca6b4c6ea32dd96a4ae8714e2862d67a">w25qxx_advance_only_spi_word_read_quad_io</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_word_read_quad_io(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example word read only in the spi quad io interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00483">driver_w25qxx_advance.c:483</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gacc7435a39b61c44f0ce16690d5da896b"><div class="ttname"><a href="group__w25qxx__example__driver.html#gacc7435a39b61c44f0ce16690d5da896b">w25qxx_advance_get_get_jedec_id</a></div><div class="ttdeci">uint8_t w25qxx_advance_get_get_jedec_id(uint8_t *manufacturer, uint8_t device_id[2])</div><div class="ttdoc">advance example get the jedec id information</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00710">driver_w25qxx_advance.c:710</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gace2a5b7acd9798cfcaa2b5eb2f18e1d1"><div class="ttname"><a href="group__w25qxx__example__driver.html#gace2a5b7acd9798cfcaa2b5eb2f18e1d1">w25qxx_advance_only_qspi_set_read_parameters</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_qspi_set_read_parameters(w25qxx_qspi_read_dummy_t dummy, w25qxx_qspi_read_wrap_length_t length)</div><div class="ttdoc">advance example set the read parameters only in the qspi interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00853">driver_w25qxx_advance.c:853</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gad243655eb738e44c50e6079c983fd782"><div class="ttname"><a href="group__w25qxx__example__driver.html#gad243655eb738e44c50e6079c983fd782">w25qxx_advance_only_spi_page_program_quad_input</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_page_program_quad_input(uint32_t addr, uint8_t *data, uint16_t len)</div><div class="ttdoc">advance example quad page program only in the spi quad input interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00527">driver_w25qxx_advance.c:527</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gae7cba4e0b22a1043fe304e46148fa13c"><div class="ttname"><a href="group__w25qxx__example__driver.html#gae7cba4e0b22a1043fe304e46148fa13c">w25qxx_advance_block_erase_64k</a></div><div class="ttdeci">uint8_t w25qxx_advance_block_erase_64k(uint32_t addr)</div><div class="ttdoc">advance example erase the 64k block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00329">driver_w25qxx_advance.c:329</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaee04edb9e97785e423dffe14a1cad780"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaee04edb9e97785e423dffe14a1cad780">w25qxx_advance_block_erase_32k</a></div><div class="ttdeci">uint8_t w25qxx_advance_block_erase_32k(uint32_t addr)</div><div class="ttdoc">advance example erase the 32k block</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00309">driver_w25qxx_advance.c:309</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaf390bbb2c4140f49d25822d963ead722"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaf390bbb2c4140f49d25822d963ead722">w25qxx_advance_deinit</a></div><div class="ttdeci">uint8_t w25qxx_advance_deinit(void)</div><div class="ttdoc">advance example deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00125">driver_w25qxx_advance.c:125</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaf4736fff906c2f0c1dbed26b20847052"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaf4736fff906c2f0c1dbed26b20847052">w25qxx_advance_get_status2</a></div><div class="ttdeci">uint8_t w25qxx_advance_get_status2(uint8_t *status)</div><div class="ttdoc">advance example get the status 2</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00567">driver_w25qxx_advance.c:567</a></div></div>
<div class="ttc" id="agroup__w25qxx__example__driver_html_gaf5f978c432de7d6adaf41cd256724a01"><div class="ttname"><a href="group__w25qxx__example__driver.html#gaf5f978c432de7d6adaf41cd256724a01">w25qxx_advance_only_spi_fast_read_quad_output</a></div><div class="ttdeci">uint8_t w25qxx_advance_only_spi_fast_read_quad_output(uint32_t addr, uint8_t *data, uint32_t len)</div><div class="ttdoc">advance example fast read only in the spi quad output interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__advance_8c_source.html#l00417">driver_w25qxx_advance.c:417</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga091f3607fcdd47f9e5f94cf1397bd46a"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga091f3607fcdd47f9e5f94cf1397bd46a">w25qxx_interface_spi_qspi_deinit</a></div><div class="ttdeci">uint8_t w25qxx_interface_spi_qspi_deinit(void)</div><div class="ttdoc">interface spi qspi bus deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00058">driver_w25qxx_interface_template.c:58</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga2bdc17a556f1c801a38656331f3bb7b6"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga2bdc17a556f1c801a38656331f3bb7b6">w25qxx_interface_spi_qspi_init</a></div><div class="ttdeci">uint8_t w25qxx_interface_spi_qspi_init(void)</div><div class="ttdoc">interface spi qspi bus init</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00046">driver_w25qxx_interface_template.c:46</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga38e79039b913154c9dd1036ff52bb420"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga38e79039b913154c9dd1036ff52bb420">w25qxx_interface_delay_us</a></div><div class="ttdeci">void w25qxx_interface_delay_us(uint32_t us)</div><div class="ttdoc">interface delay us</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00108">driver_w25qxx_interface_template.c:108</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga3d76ea1f431978f6b55edfd0628c94cd"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga3d76ea1f431978f6b55edfd0628c94cd">w25qxx_interface_spi_qspi_write_read</a></div><div class="ttdeci">uint8_t w25qxx_interface_spi_qspi_write_read(uint8_t instruction, uint8_t instruction_line, uint32_t address, uint8_t address_line, uint8_t address_len, uint32_t alternate, uint8_t alternate_line, uint8_t alternate_len, uint8_t dummy, uint8_t *in_buf, uint32_t in_len, uint8_t *out_buf, uint32_t out_len, uint8_t data_line)</div><div class="ttdoc">interface spi qspi bus write read</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00084">driver_w25qxx_interface_template.c:84</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga5325474fa17f6833744e631613fd2a0e"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga5325474fa17f6833744e631613fd2a0e">w25qxx_interface_debug_print</a></div><div class="ttdeci">void w25qxx_interface_debug_print(const char *const fmt,...)</div><div class="ttdoc">interface print format data</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00118">driver_w25qxx_interface_template.c:118</a></div></div>
<div class="ttc" id="agroup__w25qxx__interface__driver_html_ga964fa232abf98737cb98458eebfff82c"><div class="ttname"><a href="group__w25qxx__interface__driver.html#ga964fa232abf98737cb98458eebfff82c">w25qxx_interface_delay_ms</a></div><div class="ttdeci">void w25qxx_interface_delay_ms(uint32_t ms)</div><div class="ttdoc">interface delay ms</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx__interface__template_8c_source.html#l00098">driver_w25qxx_interface_template.c:98</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_ga7555618f13d2de0003ae6d9483085180"><div class="ttname"><a href="group__w25qxx__link__driver.html#ga7555618f13d2de0003ae6d9483085180">DRIVER_W25QXX_LINK_DELAY_MS</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_DELAY_MS(HANDLE, FUC)</div><div class="ttdoc">link delay_ms function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00300">driver_w25qxx.h:300</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_ga995378489f95bc6bbddbe710557e3384"><div class="ttname"><a href="group__w25qxx__link__driver.html#ga995378489f95bc6bbddbe710557e3384">DRIVER_W25QXX_LINK_INIT</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_INIT(HANDLE, STRUCTURE)</div><div class="ttdoc">initialize w25qxx_handle_t structure</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00268">driver_w25qxx.h:268</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_gab2587de93f1dba5664eede8cd787a88a"><div class="ttname"><a href="group__w25qxx__link__driver.html#gab2587de93f1dba5664eede8cd787a88a">DRIVER_W25QXX_LINK_SPI_QSPI_INIT</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_SPI_QSPI_INIT(HANDLE, FUC)</div><div class="ttdoc">link spi_qspi_init function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00276">driver_w25qxx.h:276</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_gab8d49ef9dca942fe5f37c30dcd7e22a6"><div class="ttname"><a href="group__w25qxx__link__driver.html#gab8d49ef9dca942fe5f37c30dcd7e22a6">DRIVER_W25QXX_LINK_DEBUG_PRINT</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_DEBUG_PRINT(HANDLE, FUC)</div><div class="ttdoc">link debug_print function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00316">driver_w25qxx.h:316</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_gac8f0ca0a725790bace3241d1d616e3d1"><div class="ttname"><a href="group__w25qxx__link__driver.html#gac8f0ca0a725790bace3241d1d616e3d1">DRIVER_W25QXX_LINK_SPI_QSPI_WRITE_READ</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_SPI_QSPI_WRITE_READ(HANDLE, FUC)</div><div class="ttdoc">link spi_qspi_write_read function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00292">driver_w25qxx.h:292</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_gaec8b55e83b46907be1dd9e7c50be550d"><div class="ttname"><a href="group__w25qxx__link__driver.html#gaec8b55e83b46907be1dd9e7c50be550d">DRIVER_W25QXX_LINK_SPI_QSPI_DEINIT</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_SPI_QSPI_DEINIT(HANDLE, FUC)</div><div class="ttdoc">link spi_qspi_deinit function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00284">driver_w25qxx.h:284</a></div></div>
<div class="ttc" id="agroup__w25qxx__link__driver_html_gafc81bf850c80dfa316f0c6ab40be6e67"><div class="ttname"><a href="group__w25qxx__link__driver.html#gafc81bf850c80dfa316f0c6ab40be6e67">DRIVER_W25QXX_LINK_DELAY_US</a></div><div class="ttdeci">#define DRIVER_W25QXX_LINK_DELAY_US(HANDLE, FUC)</div><div class="ttdoc">link delay_us function</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00308">driver_w25qxx.h:308</a></div></div>
<div class="ttc" id="astructw25qxx__handle__s_html"><div class="ttname"><a href="structw25qxx__handle__s.html">w25qxx_handle_s</a></div><div class="ttdoc">w25qxx handle structure definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__w25qxx_8h_source.html#l00212">driver_w25qxx.h:213</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li><li class="navelem"><a class="el" href="driver__w25qxx__advance_8c.html">driver_w25qxx_advance.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
